package com.uchengwang.ui.cm_ui.cycle.bean;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.Table;
import com.uchengwang.functions.db.dbBean.DbBase;
import com.uchengwang.ui.cm_ui.ucity.cityBean.SchoolBean;

/**
 * Created by U城网 on 2017/10/21.
 */
@Table("ryGroupBean")
public class RyGroupBean extends DbBase{
    @Column("adminNickName")
    private String adminNickName;

    @Column("adminUid")
    private long adminUid;

    @Column("createNickName")
    private String createNickName;

    @Column("createTime")
    private long createTime;

    @Column("createUid")
    private long createUid;

    @Column("groupDesc")
    private String groupDesc;

    @Column("groupLogo")
    private String groupLogo;

    @Column("groupName")
    private String groupName;

    @Column("id")
    private long id;

    @Column("isBan")
    private boolean isBan;
    private boolean isDelete;
    private boolean isDismiss;

    @Column("isNeedApply")
    private boolean isNeedApply;

    @Column("isPublic")
    private boolean isPublic;

    @Column("memberRole")
    private int memberRole;
    private long modifyTime;

    @Column("orgId")
    private long orgId;

    @Column("orgType")
    private int orgType;//社团0=社团 1=兴趣圈 2=老乡会

    @Column("referId")
    private long referId;

    @Column("referType")
    private int referType;//1.Publish群; 2.好友群; 3.社团群; 4.兴趣群; 5.班级群; 6.纳新群 7老乡群

    @Column("uniDataId")
    private long uniDataId;

    @Column("uniId")
    private long uniId;

    @Column("userCount")
    private int userCount;
    private String[] userIds;

    @Column("userLimit")
    private int userLimit;

    private int applyStatus;//0=未读 1=已读 2=接受 3=不接受

    private boolean isMember;//是否已是成员

    private SchoolBean uni;

    public SchoolBean getUni() {
        return uni;
    }

    public void setUni(SchoolBean uni) {
        this.uni = uni;
    }

    public boolean isMember() {
        return isMember;
    }

    public void setMember(boolean member) {
        isMember = member;
    }

    public int getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(int applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getAdminNickName() {
        return adminNickName;
    }

    public void setAdminNickName(String adminNickName) {
        this.adminNickName = adminNickName;
    }

    public long getAdminUid() {
        return adminUid;
    }

    public void setAdminUid(long adminUid) {
        this.adminUid = adminUid;
    }

    public String getCreateNickName() {
        return createNickName;
    }

    public void setCreateNickName(String createNickName) {
        this.createNickName = createNickName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getCreateUid() {
        return createUid;
    }

    public void setCreateUid(long createUid) {
        this.createUid = createUid;
    }

    public String getGroupDesc() {
        return groupDesc;
    }

    public void setGroupDesc(String groupDesc) {
        this.groupDesc = groupDesc;
    }

    public String getGroupLogo() {
        return groupLogo;
    }

    public void setGroupLogo(String groupLogo) {
        this.groupLogo = groupLogo;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public boolean isBan() {
        return isBan;
    }

    public void setBan(boolean ban) {
        isBan = ban;
    }

    public boolean isDelete() {
        return isDelete;
    }

    public void setDelete(boolean delete) {
        isDelete = delete;
    }

    public boolean isDismiss() {
        return isDismiss;
    }

    public void setDismiss(boolean dismiss) {
        isDismiss = dismiss;
    }

    public boolean isNeedApply() {
        return isNeedApply;
    }

    public void setNeedApply(boolean needApply) {
        isNeedApply = needApply;
    }

    public boolean isPublic() {
        return isPublic;
    }

    public void setPublic(boolean aPublic) {
        isPublic = aPublic;
    }

    public int getMemberRole() {
        return memberRole;
    }

    public void setMemberRole(int memberRole) {
        this.memberRole = memberRole;
    }

    public long getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public long getOrgId() {
        return orgId;
    }

    public void setOrgId(long orgId) {
        this.orgId = orgId;
    }

    public int getOrgType() {
        return orgType;
    }

    public void setOrgType(int orgType) {
        this.orgType = orgType;
    }

    public long getReferId() {
        return referId;
    }

    public void setReferId(long referId) {
        this.referId = referId;
    }

    public int getReferType() {
        return referType;
    }

    public void setReferType(int referType) {
        this.referType = referType;
    }

    public long getUniDataId() {
        return uniDataId;
    }

    public void setUniDataId(long uniDataId) {
        this.uniDataId = uniDataId;
    }

    public long getUniId() {
        return uniId;
    }

    public void setUniId(long uniId) {
        this.uniId = uniId;
    }

    public int getUserCount() {
        return userCount;
    }

    public void setUserCount(int userCount) {
        this.userCount = userCount;
    }

    public String[] getUserIds() {
        return userIds;
    }

    public void setUserIds(String[] userIds) {
        this.userIds = userIds;
    }

    public int getUserLimit() {
        return userLimit;
    }

    public void setUserLimit(int userLimit) {
        this.userLimit = userLimit;
    }
}
